﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;

namespace LibYanu.DAO
{
    class DAProvider<T> : NHibernateHelper
    {
        protected override void InitializeSessionFactory()
        {
    //        _sessionFactory = Fluently.Configure()
    //.Database(MsSqlConfiguration.MsSql2008
    //              .ConnectionString(
    //                  string.Format(@"Server={0};initial catalog=ASPNETDB;user={1};password={2};", ".\\Development", "sa", "Password123"))
    //              .ShowSql()
    //)
    //.Mappings(m =>
    //          m.FluentMappings
    //              .AddFromAssemblyOf<A_OUTGOINGTMap>())
    //.BuildSessionFactory();
        }
    }
}
